{"componentChunkName":"component---node-modules-rocketseat-gatsby-theme-docs-core-src-templates-docs-query-js","path":"/compilation","result":{"data":{"mdx":{"id":"5ebbb1e3-b6c4-5d7e-a6d3-d6dc350001a8","excerpt":"The project utilizes  hardhat  as its development pipeline tool, containing an array of tests and scripts coded in JavaScript. To compile the project, the…","fields":{"slug":"/compilation/"},"frontmatter":{"title":"Compilation","description":"Includes the compilation instructions that were followed as well as any issues that were identified by the compiler itself.","image":null,"disableTableOfContents":null},"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Compilation\",\n  \"description\": \"Includes the compilation instructions that were followed as well as any issues that were identified by the compiler itself.\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The project utilizes \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"hardhat\"), \" as its development pipeline tool, containing an array of tests and scripts coded in JavaScript.\"), mdx(\"p\", null, \"To compile the project, the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"compile\"), \" command needs to be issued via the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"npx\"), \" CLI tool to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"hardhat\"), \":\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, \"npx hardhat compile\\n\")), mdx(\"p\", null, \"The \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"hardhat\"), \" tool automatically selects Solidity version \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"0.8.18\"), \" based on the version specified within the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"hardhat.config.js\"), \" file.\"), mdx(\"p\", null, \"The project contains discrepancies with regards to the Solidity version used, however, they are solely contained in dependencies and can thus be safely ignored.\"), mdx(\"p\", null, \"The \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"pragma\"), \" versions have been locked to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"0.8.18\"), \" (\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"=0.8.18\"), \"), the same version utilized for our static analysis as well as optimizational review of the codebase.\"), mdx(\"p\", null, \"During compilation with the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"hardhat\"), \" pipeline, no errors were identified that relate to the syntax or bytecode size of the contracts.\"));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[]}},"pageContext":{"slug":"/compilation/","prev":{"label":"Introduction","link":"/"},"next":{"label":"Static Analysis","link":"/static-analysis"}}},"staticQueryHashes":["1954253342","2328931024","2501019404","973074209"]}